package com.vallis.asfc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author vallis
 * @since 2020-07-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class HxPeople extends Model<HxPeople> {

    private static final long serialVersionUID = 1L;

    @TableField("TeamName")
    private String TeamName;

    /**
     * ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 名字
     */
    @TableField("Name")
    private String Name;

    /**
     * 会员号
     */
    @TableField("SN")
    private String sn;

    /**
     * 密码
     */
    @TableField("Password")
    private String Password;

    /**
     * 所属会员单位
     */
    @TableField("BelongTeam")
    private Integer BelongTeam;

    /**
     * 性别
     */
    @TableField("Gender")
    private String Gender;

    /**
     * 城市
     */
    @TableField("City")
    private String City;

    /**
     * 出生日期
     */
    @TableField("BirthDay")
    private Date BirthDay;

    /**
     * 年龄
     */
    @TableField("Age")
    private Integer Age;

    /**
     * 照片
     */
    @TableField("Photo")
    private String Photo;

    /**
     * 身份证
     */
    @TableField("CertNumber")
    private String CertNumber;

    /**
     * 身份
     */
    @TableField("Occupation")
    private String Occupation;

    /**
     * 个人简介
     */
    @TableField("PersonIntro")
    private String PersonIntro;

    /**
     * 会费状态
     */
    @TableField("YearFeeStatus")
    private Integer YearFeeStatus;

    /**
     * 赛事报名费状态
     */
    @TableField("MatchFeeStatus")
    private Integer MatchFeeStatus;

    /**
     * 驾照考试费状态
     */
    @TableField("ExamFeeStatus")
    private Integer ExamFeeStatus;

    /**
     * 添加本人的单位
     */
    @TableField("AddUser")
    private String AddUser;

    /**
     * 添加时间
     */
    @TableField("AddTime")
    private Date AddTime;

    /**
     * 备注
     */
    private String prop1;

    /**
     * 缴费清单标记
     */
    private String prop2;

    /**
     * 手机号
     */
    private String prop3;

    /**
     * 住址
     */
    private String prop4;

    /**
     * 会费缴费日期
     */
    @TableField("YearFeePayDate")
    private Date YearFeePayDate;

    /**
     * 比赛报名费缴费日期
     */
    @TableField("MatchFeePayDate")
    private Date MatchFeePayDate;

    /**
     * 驾照考试费缴费日期
     */
    @TableField("ExamFeePayDate")
    private Date ExamFeePayDate;

    @TableField("EligibleDat")
    private Date EligibleDat;

    @TableField("registerDate")
    private Date registerDate;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
